package database.local;

import android.graphics.drawable.Drawable;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;

public class OverlayItemDrawable extends OverlayItem {

	DrawableHolder dh;
	
	public OverlayItemDrawable(GeoPoint point, String title, String snippet, DrawableHolder dh) {
		super(point, title, snippet);
		this.dh = dh;
	}
	
	public Drawable getDefaultIcon(){
		return dh.getDefaultIcon();
	}
	
	public Drawable getSelectedIcon(){
		return dh.getSelectedIcon();
	}

}
